﻿'use strict';

angular.module('app').factory('menu.resource', ['$resource', function ($resource) {
    return $resource('/api/Menu/:culture/:menuName', {},
        {
            queryAll: {
                method: 'GET',
                params: {},
                isArray: true
            },
            query: {
                method: 'GET',
                params: {},
                isArray: false
            }
        });
}]);